package com.maxus.mini.ecard.data.provider.request;

import java.io.Serializable;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.alibaba.dubbo.config.annotation.Service;
import com.maxus.mini.ecard.data.api.request.RequestLogService;
import com.maxus.mini.ecard.data.provider.BaseServiceImpl;
import com.maxus.mini.ecard.entity.request.RequestLog;
import com.maxus.mini.ecard.repository.RequestLogRepository;

/**
 * 日志管理
 * 
 * @author wujinsong
 *
 */
@Component()
@Service(version = "1.0.0")
public class RequestLogServiceImpl extends BaseServiceImpl<RequestLog, Serializable> implements RequestLogService<RequestLog, Serializable> {
	@Autowired
	private RequestLogRepository<RequestLog> requestLogRepository;

	@Override
	public RequestLog findBySerialno(String serialno) {
		return requestLogRepository.findBySerialno(serialno);
	}
}
